.class public Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;
.super Landroid/view/View;
.source "RangeSeekBar.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$a;,
        Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$Select;
    }
.end annotation


# static fields
.field private static final E:I


# instance fields
.field private A:Landroid/graphics/drawable/Drawable;

.field private B:Landroid/graphics/drawable/Drawable;

.field private C:Landroid/graphics/Paint;

.field private D:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List<",
            "Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$a;",
            ">;"
        }
    .end annotation
.end field

.field private a:Z

.field private b:J

.field private c:Landroid/graphics/drawable/Drawable;

.field private d:I

.field private e:I

.field private f:I

.field private g:I

.field private h:Landroid/graphics/drawable/Drawable;

.field private i:I

.field private j:I

.field private k:Z

.field private l:I

.field private m:I

.field private n:I

.field private o:I

.field private p:Ljava/text/Format;

.field private q:I

.field private r:I

.field private s:I

.field private t:I

.field private u:Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$Select;

.field private v:Z

.field private w:I

.field private x:I

.field private y:I

.field private z:Landroid/graphics/drawable/Drawable;


# direct methods
.method static constructor <clinit>()V
    .locals 1

    const/4 v0, 0x4

    .line 1
    invoke-static {v0}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->b(I)I

    move-result v0

    add-int/lit8 v0, v0, 0x6

    sput v0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->E:I

    return-void
.end method

.method public constructor <init>(Landroid/content/Context;)V
    .locals 1

    const/4 v0, 0x0

    .line 1
    invoke-direct {p0, p1, v0}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    return-void
.end method

.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
    .locals 1

    const/4 v0, 0x0

    .line 2
    invoke-direct {p0, p1, p2, v0}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V

    return-void
.end method

.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
    .locals 3

    .line 3
    invoke-direct {p0, p1, p2, p3}, Landroid/view/View;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V

    const/4 v0, 0x0

    .line 4
    iput-boolean v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->a:Z

    const-wide/32 v1, 0xea60

    .line 5
    iput-wide v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->b:J

    const/4 v1, 0x1

    .line 6
    iput-boolean v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->k:Z

    const/16 v2, 0x28

    .line 7
    iput v2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->l:I

    const v2, -0x666667

    .line 8
    iput v2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->m:I

    .line 9
    iput v2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->n:I

    .line 10
    iput v2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->o:I

    const/16 v2, 0x14

    .line 11
    iput v2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->q:I

    .line 12
    iput v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->r:I

    .line 13
    iput v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->s:I

    .line 14
    sget-object v2, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$Select;->LEFT:Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$Select;

    iput-object v2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->u:Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$Select;

    .line 15
    iput-boolean v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->v:Z

    .line 16
    iput v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->w:I

    .line 17
    iput v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->x:I

    const/16 v1, 0x10

    .line 18
    iput v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->y:I

    .line 19
    new-instance v1, Ljava/util/ArrayList;

    invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V

    iput-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->D:Ljava/util/List;

    .line 20
    invoke-direct {p0, p1, p2, p3, v0}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->a(Landroid/content/Context;Landroid/util/AttributeSet;II)V

    return-void
.end method

.method private a(I)I
    .locals 5

    .line 50
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->getTrackWidth()I

    move-result v0

    if-nez v0, :cond_0

    const/4 p1, 0x0

    return p1

    .line 51
    :cond_0
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->getTrackStart()I

    move-result v1

    sub-int/2addr p1, v1

    int-to-long v1, p1

    iget-wide v3, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->b:J

    mul-long v1, v1, v3

    int-to-long v3, v0

    div-long/2addr v1, v3

    long-to-int p1, v1

    return p1
.end method

.method private a(J)I
    .locals 5

    .line 48
    iget-wide v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->b:J

    const-wide/16 v2, 0x0

    cmp-long v4, v0, v2

    if-gtz v4, :cond_0

    const/4 p1, 0x0

    return p1

    .line 49
    :cond_0
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->getTrackStart()I

    move-result v0

    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->getTrackWidth()I

    move-result v1

    int-to-long v1, v1

    mul-long p1, p1, v1

    iget-wide v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->b:J

    div-long/2addr p1, v1

    long-to-int p2, p1

    add-int/2addr v0, p2

    return v0
.end method

.method private a()V
    .locals 2

    const/16 v0, 0x10

    .line 34
    iput v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->y:I

    const-wide/32 v0, 0xea60

    .line 35
    iput-wide v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->b:J

    const/4 v0, 0x0

    .line 36
    iput-boolean v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->k:Z

    const/16 v1, 0x28

    .line 37
    iput v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->l:I

    const v1, -0x666667

    .line 38
    iput v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->m:I

    .line 39
    iput v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->n:I

    .line 40
    iput v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->o:I

    const/16 v1, 0x14

    .line 41
    iput v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->q:I

    const/4 v1, 0x1

    .line 42
    iput-boolean v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->a:Z

    .line 43
    iput v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->x:I

    .line 44
    iput v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->d:I

    const v0, 0xea60

    .line 45
    iput v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->f:I

    return-void
.end method

.method private a(II)V
    .locals 0

    .line 46
    invoke-virtual {p0, p2}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->setRightCursorValue(I)V

    .line 47
    invoke-virtual {p0, p1}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->setLeftCursorValue(I)V

    return-void
.end method

.method private a(Landroid/content/Context;Landroid/util/AttributeSet;II)V
    .locals 1

    .line 1
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->a()V

    .line 2
    sget-object v0, Les/b5;->RangeSeekBar:[I

    invoke-virtual {p1, p2, v0, p3, p4}, Landroid/content/Context;->obtainStyledAttributes(Landroid/util/AttributeSet;[III)Landroid/content/res/TypedArray;

    move-result-object p1

    .line 3
    sget p2, Les/b5;->RangeSeekBar_trackDrawable:I

    invoke-virtual {p1, p2}, Landroid/content/res/TypedArray;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object p2

    if-eqz p2, :cond_2

    .line 4
    instance-of p3, p2, Landroid/graphics/drawable/LayerDrawable;

    if-eqz p3, :cond_1

    .line 5
    check-cast p2, Landroid/graphics/drawable/LayerDrawable;

    const p3, 0x102000d

    invoke-virtual {p2, p3}, Landroid/graphics/drawable/LayerDrawable;->findDrawableByLayerId(I)Landroid/graphics/drawable/Drawable;

    move-result-object p3

    iput-object p3, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->A:Landroid/graphics/drawable/Drawable;

    const/high16 p3, 0x1020000

    .line 6
    invoke-virtual {p2, p3}, Landroid/graphics/drawable/LayerDrawable;->findDrawableByLayerId(I)Landroid/graphics/drawable/Drawable;

    move-result-object p2

    iput-object p2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->z:Landroid/graphics/drawable/Drawable;

    .line 7
    iget-object p2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->A:Landroid/graphics/drawable/Drawable;

    const/16 p3, 0x2710

    if-eqz p2, :cond_0

    .line 8
    invoke-virtual {p2, p3}, Landroid/graphics/drawable/Drawable;->setLevel(I)Z

    .line 9
    :cond_0
    iget-object p2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->B:Landroid/graphics/drawable/Drawable;

    if-eqz p2, :cond_2

    .line 10
    invoke-virtual {p2, p3}, Landroid/graphics/drawable/Drawable;->setLevel(I)Z

    goto :goto_0

    .line 11
    :cond_1
    iput-object p2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->A:Landroid/graphics/drawable/Drawable;

    .line 12
    :cond_2
    :goto_0
    sget p2, Les/b5;->RangeSeekBar_trackDisabledDrawable:I

    invoke-virtual {p1, p2}, Landroid/content/res/TypedArray;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object p2

    iput-object p2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->B:Landroid/graphics/drawable/Drawable;

    if-nez p2, :cond_3

    .line 13
    iget-object p2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->z:Landroid/graphics/drawable/Drawable;

    iput-object p2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->B:Landroid/graphics/drawable/Drawable;

    .line 14
    :cond_3
    sget p2, Les/b5;->RangeSeekBar_thumb:I

    invoke-virtual {p1, p2}, Landroid/content/res/TypedArray;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object p2

    iput-object p2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->c:Landroid/graphics/drawable/Drawable;

    .line 15
    sget p2, Les/b5;->RangeSeekBar_needle:I

    invoke-virtual {p1, p2}, Landroid/content/res/TypedArray;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object p2

    iput-object p2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->h:Landroid/graphics/drawable/Drawable;

    .line 16
    sget p2, Les/b5;->RangeSeekBar_trackHeight:I

    iget p3, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->y:I

    invoke-virtual {p1, p2, p3}, Landroid/content/res/TypedArray;->getDimensionPixelSize(II)I

    move-result p2

    iput p2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->y:I

    .line 17
    sget p2, Les/b5;->RangeSeekBar_max:I

    iget-wide p3, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->b:J

    long-to-int p4, p3

    invoke-virtual {p1, p2, p4}, Landroid/content/res/TypedArray;->getInt(II)I

    move-result p2

    int-to-long p2, p2

    iput-wide p2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->b:J

    .line 18
    sget p2, Les/b5;->RangeSeekBar_maskMode:I

    iget p3, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->x:I

    invoke-virtual {p1, p2, p3}, Landroid/content/res/TypedArray;->getInt(II)I

    move-result p2

    iput p2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->x:I

    .line 19
    sget p2, Les/b5;->RangeSeekBar_showLabels:I

    iget-boolean p3, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->k:Z

    invoke-virtual {p1, p2, p3}, Landroid/content/res/TypedArray;->getBoolean(IZ)Z

    move-result p2

    iput-boolean p2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->k:Z

    .line 20
    sget p2, Les/b5;->RangeSeekBar_labelSize:I

    iget p3, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->l:I

    invoke-virtual {p1, p2, p3}, Landroid/content/res/TypedArray;->getDimensionPixelSize(II)I

    move-result p2

    iput p2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->l:I

    .line 21
    sget p2, Les/b5;->RangeSeekBar_labelColor:I

    invoke-virtual {p1, p2}, Landroid/content/res/TypedArray;->getColorStateList(I)Landroid/content/res/ColorStateList;

    move-result-object p2

    if-eqz p2, :cond_4

    .line 22
    sget-object p3, Landroid/view/View;->ENABLED_STATE_SET:[I

    const p4, -0x666667

    invoke-virtual {p2, p3, p4}, Landroid/content/res/ColorStateList;->getColorForState([II)I

    move-result p3

    iput p3, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->m:I

    .line 23
    sget-object p3, Landroid/view/View;->SELECTED_STATE_SET:[I

    invoke-virtual {p2, p3, p4}, Landroid/content/res/ColorStateList;->getColorForState([II)I

    move-result p3

    iput p3, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->n:I

    .line 24
    sget-object p3, Landroid/view/View;->EMPTY_STATE_SET:[I

    invoke-virtual {p2, p3, p4}, Landroid/content/res/ColorStateList;->getColorForState([II)I

    move-result p2

    iput p2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->o:I

    .line 25
    :cond_4
    sget p2, Les/b5;->RangeSeekBar_labelMarginBottom:I

    iget p3, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->q:I

    invoke-virtual {p1, p2, p3}, Landroid/content/res/TypedArray;->getDimensionPixelSize(II)I

    move-result p2

    iput p2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->q:I

    .line 26
    iget-wide p2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->b:J

    long-to-int p3, p2

    iput p3, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->f:I

    .line 27
    new-instance p2, Landroid/graphics/Paint;

    invoke-direct {p2}, Landroid/graphics/Paint;-><init>()V

    iput-object p2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->C:Landroid/graphics/Paint;

    .line 28
    iget p3, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->l:I

    int-to-float p3, p3

    invoke-virtual {p2, p3}, Landroid/graphics/Paint;->setTextSize(F)V

    .line 29
    iget-object p2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->C:Landroid/graphics/Paint;

    iget p3, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->m:I

    invoke-virtual {p2, p3}, Landroid/graphics/Paint;->setColor(I)V

    .line 30
    iget-object p2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->C:Landroid/graphics/Paint;

    const/4 p3, 0x1

    invoke-virtual {p2, p3}, Landroid/graphics/Paint;->setAntiAlias(Z)V

    .line 31
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->g()V

    .line 32
    invoke-virtual {p1}, Landroid/content/res/TypedArray;->recycle()V

    .line 33
    invoke-virtual {p0}, Landroid/view/View;->isEnabled()Z

    move-result p1

    invoke-virtual {p0, p1}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->setEnabled(Z)V

    return-void
.end method

.method private a(Landroid/graphics/Canvas;)V
    .locals 0

    .line 66
    invoke-direct {p0, p1}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->d(Landroid/graphics/Canvas;)V

    .line 67
    invoke-direct {p0, p1}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->c(Landroid/graphics/Canvas;)V

    return-void
.end method

.method private a(Landroid/graphics/Canvas;Landroid/graphics/drawable/Drawable;I)V
    .locals 4

    if-eqz p2, :cond_0

    .line 68
    invoke-virtual {p2}, Landroid/graphics/drawable/Drawable;->getIntrinsicWidth()I

    move-result v0

    div-int/lit8 v0, v0, 0x2

    .line 69
    invoke-virtual {p2}, Landroid/graphics/drawable/Drawable;->getIntrinsicHeight()I

    move-result v1

    div-int/lit8 v1, v1, 0x2

    sub-int v2, p3, v0

    .line 70
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->getTrackCenterY()I

    move-result v3

    sub-int/2addr v3, v1

    add-int/2addr p3, v0

    .line 71
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->getTrackCenterY()I

    move-result v0

    add-int/2addr v0, v1

    .line 72
    invoke-virtual {p2, v2, v3, p3, v0}, Landroid/graphics/drawable/Drawable;->setBounds(IIII)V

    .line 73
    invoke-virtual {p2, p1}, Landroid/graphics/drawable/Drawable;->draw(Landroid/graphics/Canvas;)V

    :cond_0
    return-void
.end method

.method private a(Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$Select;)V
    .locals 2

    .line 64
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->D:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v0

    :goto_0
    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v1

    if-eqz v1, :cond_0

    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$a;

    .line 65
    invoke-interface {v1, p0, p1}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$a;->a(Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$Select;)V

    goto :goto_0

    :cond_0
    return-void
.end method

.method private a(Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$Select;IZ)V
    .locals 2

    .line 62
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->D:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v0

    :goto_0
    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v1

    if-eqz v1, :cond_0

    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$a;

    .line 63
    invoke-interface {v1, p0, p1, p2, p3}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$a;->a(Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$Select;IZ)V

    goto :goto_0

    :cond_0
    return-void
.end method

.method public static a(III)Z
    .locals 0

    if-le p0, p1, :cond_0

    if-ge p0, p2, :cond_0

    const/4 p0, 0x1

    goto :goto_0

    :cond_0
    const/4 p0, 0x0

    :goto_0
    return p0
.end method

.method private static b(I)I
    .locals 2

    .line 8
    invoke-static {}, Landroid/content/res/Resources;->getSystem()Landroid/content/res/Resources;

    move-result-object v0

    int-to-float p0, p0

    .line 9
    invoke-virtual {v0}, Landroid/content/res/Resources;->getDisplayMetrics()Landroid/util/DisplayMetrics;

    move-result-object v0

    const/4 v1, 0x1

    invoke-static {v1, p0, v0}, Landroid/util/TypedValue;->applyDimension(IFLandroid/util/DisplayMetrics;)F

    move-result p0

    float-to-int p0, p0

    return p0
.end method

.method private b(Landroid/graphics/Canvas;)V
    .locals 7

    .line 10
    iget-boolean v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->k:Z

    if-eqz v0, :cond_6

    .line 11
    iget v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->d:I

    invoke-static {v0}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v0

    .line 12
    iget v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->f:I

    invoke-static {v1}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v1

    .line 13
    iget-object v2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->p:Ljava/text/Format;

    if-eqz v2, :cond_0

    .line 14
    iget v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->d:I

    invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v0

    invoke-virtual {v2, v0}, Ljava/text/Format;->format(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v0

    .line 15
    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->p:Ljava/text/Format;

    iget v2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->f:I

    invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/text/Format;->format(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v1

    .line 16
    :cond_0
    iget-object v2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->C:Landroid/graphics/Paint;

    invoke-virtual {v2, v0}, Landroid/graphics/Paint;->measureText(Ljava/lang/String;)F

    move-result v2

    .line 17
    iget-object v3, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->C:Landroid/graphics/Paint;

    invoke-virtual {v3, v1}, Landroid/graphics/Paint;->measureText(Ljava/lang/String;)F

    move-result v3

    .line 18
    iget-boolean v4, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->v:Z

    const/high16 v5, 0x40000000    # 2.0f

    if-eqz v4, :cond_3

    .line 19
    iget-object v4, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->C:Landroid/graphics/Paint;

    invoke-virtual {p0}, Landroid/view/View;->isEnabled()Z

    move-result v6

    if-eqz v6, :cond_1

    iget v6, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->m:I

    goto :goto_0

    :cond_1
    iget v6, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->o:I

    :goto_0
    invoke-virtual {v4, v6}, Landroid/graphics/Paint;->setColor(I)V

    .line 20
    iget v4, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->g:I

    int-to-float v4, v4

    div-float/2addr v3, v5

    sub-float/2addr v4, v3

    .line 21
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->getContentTop()I

    move-result v3

    iget v6, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->l:I

    add-int/2addr v3, v6

    int-to-float v3, v3

    iget-object v6, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->C:Landroid/graphics/Paint;

    .line 22
    invoke-virtual {p1, v1, v4, v3, v6}, Landroid/graphics/Canvas;->drawText(Ljava/lang/String;FFLandroid/graphics/Paint;)V

    .line 23
    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->C:Landroid/graphics/Paint;

    invoke-virtual {p0}, Landroid/view/View;->isEnabled()Z

    move-result v3

    if-eqz v3, :cond_2

    iget v3, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->n:I

    goto :goto_1

    :cond_2
    iget v3, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->o:I

    :goto_1
    invoke-virtual {v1, v3}, Landroid/graphics/Paint;->setColor(I)V

    .line 24
    iget v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->e:I

    int-to-float v1, v1

    div-float/2addr v2, v5

    sub-float/2addr v1, v2

    .line 25
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->getContentTop()I

    move-result v2

    iget v3, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->l:I

    add-int/2addr v2, v3

    int-to-float v2, v2

    iget-object v3, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->C:Landroid/graphics/Paint;

    .line 26
    invoke-virtual {p1, v0, v1, v2, v3}, Landroid/graphics/Canvas;->drawText(Ljava/lang/String;FFLandroid/graphics/Paint;)V

    goto :goto_4

    .line 27
    :cond_3
    iget-object v4, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->C:Landroid/graphics/Paint;

    invoke-virtual {p0}, Landroid/view/View;->isEnabled()Z

    move-result v6

    if-eqz v6, :cond_4

    iget v6, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->m:I

    goto :goto_2

    :cond_4
    iget v6, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->o:I

    :goto_2
    invoke-virtual {v4, v6}, Landroid/graphics/Paint;->setColor(I)V

    .line 28
    iget v4, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->e:I

    int-to-float v4, v4

    div-float/2addr v2, v5

    sub-float/2addr v4, v2

    .line 29
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->getContentTop()I

    move-result v2

    iget v6, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->l:I

    add-int/2addr v2, v6

    int-to-float v2, v2

    iget-object v6, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->C:Landroid/graphics/Paint;

    .line 30
    invoke-virtual {p1, v0, v4, v2, v6}, Landroid/graphics/Canvas;->drawText(Ljava/lang/String;FFLandroid/graphics/Paint;)V

    .line 31
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->C:Landroid/graphics/Paint;

    invoke-virtual {p0}, Landroid/view/View;->isEnabled()Z

    move-result v2

    if-eqz v2, :cond_5

    iget v2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->n:I

    goto :goto_3

    :cond_5
    iget v2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->o:I

    :goto_3
    invoke-virtual {v0, v2}, Landroid/graphics/Paint;->setColor(I)V

    .line 32
    iget v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->g:I

    int-to-float v0, v0

    div-float/2addr v3, v5

    sub-float/2addr v0, v3

    .line 33
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->getContentTop()I

    move-result v2

    iget v3, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->l:I

    add-int/2addr v2, v3

    int-to-float v2, v2

    iget-object v3, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->C:Landroid/graphics/Paint;

    .line 34
    invoke-virtual {p1, v1, v0, v2, v3}, Landroid/graphics/Canvas;->drawText(Ljava/lang/String;FFLandroid/graphics/Paint;)V

    :cond_6
    :goto_4
    return-void
.end method

.method private b(Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$Select;)V
    .locals 2

    .line 6
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->D:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v0

    :goto_0
    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v1

    if-eqz v1, :cond_0

    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$a;

    .line 7
    invoke-interface {v1, p0, p1}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$a;->b(Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$Select;)V

    goto :goto_0

    :cond_0
    return-void
.end method

.method private b()Z
    .locals 5

    .line 1
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->getTrackWidth()I

    move-result v0

    int-to-long v0, v0

    const-wide/16 v2, 0x0

    mul-long v0, v0, v2

    iget-wide v2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->b:J

    div-long/2addr v0, v2

    long-to-int v1, v0

    .line 2
    iget v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->e:I

    iget v2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->g:I

    sub-int v3, v2, v1

    const/4 v4, 0x1

    if-le v0, v3, :cond_0

    sub-int/2addr v2, v1

    .line 3
    iput v2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->e:I

    const/4 v0, 0x1

    goto :goto_0

    :cond_0
    const/4 v0, 0x0

    .line 4
    :goto_0
    iget v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->e:I

    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->getTrackStart()I

    move-result v2

    if-ge v1, v2, :cond_1

    .line 5
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->getTrackStart()I

    move-result v0

    iput v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->e:I

    goto :goto_1

    :cond_1
    move v4, v0

    :goto_1
    return v4
.end method

.method private c(I)I
    .locals 5

    .line 5
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->getRangeCursorWidth()I

    move-result v0

    const/4 v1, 0x2

    div-int/2addr v0, v1

    .line 6
    iget-boolean v2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->v:Z

    const/4 v3, 0x1

    if-eqz v2, :cond_1

    .line 7
    iget v2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->e:I

    sub-int v4, v2, v0

    add-int/2addr v2, v0

    invoke-static {p1, v4, v2}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->a(III)Z

    move-result v2

    if-eqz v2, :cond_0

    return v3

    .line 8
    :cond_0
    iget v2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->g:I

    sub-int v3, v2, v0

    add-int/2addr v2, v0

    invoke-static {p1, v3, v2}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->a(III)Z

    move-result v0

    if-eqz v0, :cond_3

    return v1

    .line 9
    :cond_1
    iget v2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->g:I

    sub-int v4, v2, v0

    add-int/2addr v2, v0

    invoke-static {p1, v4, v2}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->a(III)Z

    move-result v2

    if-eqz v2, :cond_2

    return v1

    .line 10
    :cond_2
    iget v2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->e:I

    sub-int v4, v2, v0

    add-int/2addr v2, v0

    invoke-static {p1, v4, v2}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->a(III)Z

    move-result v0

    if-eqz v0, :cond_3

    return v3

    .line 11
    :cond_3
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->getNeedleCursorWidth()I

    move-result v0

    div-int/2addr v0, v1

    .line 12
    iget v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->j:I

    sub-int v2, v1, v0

    add-int/2addr v1, v0

    invoke-static {p1, v2, v1}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->a(III)Z

    move-result v0

    const/4 v1, 0x3

    if-eqz v0, :cond_4

    return v1

    .line 13
    :cond_4
    iget v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->j:I

    sget v2, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->E:I

    sub-int v3, v0, v2

    add-int/2addr v0, v2

    invoke-static {p1, v3, v0}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->a(III)Z

    move-result p1

    if-eqz p1, :cond_5

    return v1

    :cond_5
    const/4 p1, 0x0

    return p1
.end method

.method private c()V
    .locals 8

    .line 1
    iget v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->d:I

    int-to-long v0, v0

    iget v2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->f:I

    int-to-long v3, v2

    const-wide/16 v5, 0x0

    sub-long/2addr v3, v5

    cmp-long v7, v0, v3

    if-lez v7, :cond_0

    int-to-long v0, v2

    sub-long/2addr v0, v5

    long-to-int v1, v0

    .line 2
    iput v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->d:I

    .line 3
    :cond_0
    iget v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->d:I

    if-gez v0, :cond_1

    const/4 v0, 0x0

    .line 4
    iput v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->d:I

    :cond_1
    return-void
.end method

.method private c(Landroid/graphics/Canvas;)V
    .locals 2

    .line 14
    iget-boolean v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->v:Z

    if-eqz v0, :cond_2

    .line 15
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->c:Landroid/graphics/drawable/Drawable;

    invoke-virtual {p0}, Landroid/view/View;->isEnabled()Z

    move-result v1

    if-eqz v1, :cond_0

    sget-object v1, Landroid/view/View;->ENABLED_STATE_SET:[I

    goto :goto_0

    :cond_0
    sget-object v1, Landroid/view/View;->EMPTY_STATE_SET:[I

    :goto_0
    invoke-virtual {v0, v1}, Landroid/graphics/drawable/Drawable;->setState([I)Z

    .line 16
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->c:Landroid/graphics/drawable/Drawable;

    iget v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->g:I

    invoke-direct {p0, p1, v0, v1}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->a(Landroid/graphics/Canvas;Landroid/graphics/drawable/Drawable;I)V

    .line 17
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->c:Landroid/graphics/drawable/Drawable;

    invoke-virtual {p0}, Landroid/view/View;->isEnabled()Z

    move-result v1

    if-eqz v1, :cond_1

    sget-object v1, Landroid/view/View;->SELECTED_STATE_SET:[I

    goto :goto_1

    :cond_1
    sget-object v1, Landroid/view/View;->EMPTY_STATE_SET:[I

    :goto_1
    invoke-virtual {v0, v1}, Landroid/graphics/drawable/Drawable;->setState([I)Z

    .line 18
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->c:Landroid/graphics/drawable/Drawable;

    iget v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->e:I

    invoke-direct {p0, p1, v0, v1}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->a(Landroid/graphics/Canvas;Landroid/graphics/drawable/Drawable;I)V

    goto :goto_4

    .line 19
    :cond_2
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->c:Landroid/graphics/drawable/Drawable;

    invoke-virtual {p0}, Landroid/view/View;->isEnabled()Z

    move-result v1

    if-eqz v1, :cond_3

    sget-object v1, Landroid/view/View;->ENABLED_STATE_SET:[I

    goto :goto_2

    :cond_3
    sget-object v1, Landroid/view/View;->EMPTY_STATE_SET:[I

    :goto_2
    invoke-virtual {v0, v1}, Landroid/graphics/drawable/Drawable;->setState([I)Z

    .line 20
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->c:Landroid/graphics/drawable/Drawable;

    iget v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->e:I

    invoke-direct {p0, p1, v0, v1}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->a(Landroid/graphics/Canvas;Landroid/graphics/drawable/Drawable;I)V

    .line 21
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->c:Landroid/graphics/drawable/Drawable;

    invoke-virtual {p0}, Landroid/view/View;->isEnabled()Z

    move-result v1

    if-eqz v1, :cond_4

    sget-object v1, Landroid/view/View;->SELECTED_STATE_SET:[I

    goto :goto_3

    :cond_4
    sget-object v1, Landroid/view/View;->EMPTY_STATE_SET:[I

    :goto_3
    invoke-virtual {v0, v1}, Landroid/graphics/drawable/Drawable;->setState([I)Z

    .line 22
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->c:Landroid/graphics/drawable/Drawable;

    iget v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->g:I

    invoke-direct {p0, p1, v0, v1}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->a(Landroid/graphics/Canvas;Landroid/graphics/drawable/Drawable;I)V

    :goto_4
    return-void
.end method

.method private d(Landroid/graphics/Canvas;)V
    .locals 2

    .line 5
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->h:Landroid/graphics/drawable/Drawable;

    if-eqz v0, :cond_0

    .line 6
    iget v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->j:I

    invoke-direct {p0, p1, v0, v1}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->a(Landroid/graphics/Canvas;Landroid/graphics/drawable/Drawable;I)V

    :cond_0
    return-void
.end method

.method private d()Z
    .locals 3

    .line 1
    iget v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->j:I

    iget v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->e:I

    const/4 v2, 0x1

    if-ge v0, v1, :cond_0

    .line 2
    iput v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->j:I

    goto :goto_0

    .line 3
    :cond_0
    iget v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->g:I

    if-le v0, v1, :cond_1

    .line 4
    iput v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->j:I

    goto :goto_0

    :cond_1
    const/4 v2, 0x0

    :goto_0
    return v2
.end method

.method private e(Landroid/graphics/Canvas;)V
    .locals 6

    .line 6
    invoke-virtual {p0}, Landroid/view/View;->isEnabled()Z

    move-result v0

    if-eqz v0, :cond_1

    .line 7
    iget v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->x:I

    if-nez v0, :cond_0

    .line 8
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->z:Landroid/graphics/drawable/Drawable;

    .line 9
    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->A:Landroid/graphics/drawable/Drawable;

    goto :goto_0

    .line 10
    :cond_0
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->A:Landroid/graphics/drawable/Drawable;

    .line 11
    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->z:Landroid/graphics/drawable/Drawable;

    goto :goto_0

    .line 12
    :cond_1
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->B:Landroid/graphics/drawable/Drawable;

    const/4 v1, 0x0

    :goto_0
    if-eqz v0, :cond_2

    .line 13
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->getTrackStart()I

    move-result v2

    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->getTrackTop()I

    move-result v3

    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->getTrackEnd()I

    move-result v4

    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->getTrackBottom()I

    move-result v5

    invoke-virtual {v0, v2, v3, v4, v5}, Landroid/graphics/drawable/Drawable;->setBounds(IIII)V

    .line 14
    invoke-virtual {v0, p1}, Landroid/graphics/drawable/Drawable;->draw(Landroid/graphics/Canvas;)V

    :cond_2
    if-eqz v1, :cond_3

    .line 15
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->getTrackStart()I

    move-result v0

    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->getTrackTop()I

    move-result v2

    iget v3, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->e:I

    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->getTrackBottom()I

    move-result v4

    invoke-virtual {v1, v0, v2, v3, v4}, Landroid/graphics/drawable/Drawable;->setBounds(IIII)V

    .line 16
    invoke-virtual {v1, p1}, Landroid/graphics/drawable/Drawable;->draw(Landroid/graphics/Canvas;)V

    .line 17
    iget v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->g:I

    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->getTrackTop()I

    move-result v2

    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->getTrackEnd()I

    move-result v3

    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->getTrackBottom()I

    move-result v4

    invoke-virtual {v1, v0, v2, v3, v4}, Landroid/graphics/drawable/Drawable;->setBounds(IIII)V

    .line 18
    invoke-virtual {v1, p1}, Landroid/graphics/drawable/Drawable;->draw(Landroid/graphics/Canvas;)V

    :cond_3
    return-void
.end method

.method private e()Z
    .locals 5

    .line 1
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->getTrackWidth()I

    move-result v0

    int-to-long v0, v0

    const-wide/16 v2, 0x0

    mul-long v0, v0, v2

    iget-wide v2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->b:J

    div-long/2addr v0, v2

    long-to-int v1, v0

    .line 2
    iget v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->g:I

    iget v2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->e:I

    add-int v3, v2, v1

    const/4 v4, 0x1

    if-ge v0, v3, :cond_0

    add-int/2addr v2, v1

    .line 3
    iput v2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->g:I

    const/4 v0, 0x1

    goto :goto_0

    :cond_0
    const/4 v0, 0x0

    .line 4
    :goto_0
    iget v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->g:I

    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->getTrackEnd()I

    move-result v2

    if-le v1, v2, :cond_1

    .line 5
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->getTrackEnd()I

    move-result v0

    iput v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->g:I

    goto :goto_1

    :cond_1
    move v4, v0

    :goto_1
    return v4
.end method

.method private f()V
    .locals 8

    .line 1
    iget v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->f:I

    int-to-long v0, v0

    iget v2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->d:I

    int-to-long v3, v2

    const-wide/16 v5, 0x0

    add-long/2addr v3, v5

    cmp-long v7, v0, v3

    if-gez v7, :cond_0

    int-to-long v0, v2

    add-long/2addr v0, v5

    long-to-int v1, v0

    .line 2
    iput v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->f:I

    .line 3
    :cond_0
    iget v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->f:I

    int-to-long v0, v0

    iget-wide v2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->b:J

    cmp-long v4, v0, v2

    if-lez v4, :cond_1

    long-to-int v0, v2

    .line 4
    iput v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->f:I

    :cond_1
    return-void
.end method

.method private g()V
    .locals 4

    .line 1
    iget-boolean v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->k:Z

    const/4 v1, 0x0

    if-eqz v0, :cond_1

    .line 2
    invoke-static {v1}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v0

    .line 3
    iget-wide v2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->b:J

    invoke-static {v2, v3}, Ljava/lang/String;->valueOf(J)Ljava/lang/String;

    move-result-object v2

    .line 4
    iget-object v3, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->p:Ljava/text/Format;

    if-eqz v3, :cond_0

    .line 5
    invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v0

    invoke-virtual {v3, v0}, Ljava/text/Format;->format(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v0

    .line 6
    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->p:Ljava/text/Format;

    iget-wide v2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->b:J

    invoke-static {v2, v3}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/text/Format;->format(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v2

    .line 7
    :cond_0
    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->C:Landroid/graphics/Paint;

    invoke-virtual {v1, v0}, Landroid/graphics/Paint;->measureText(Ljava/lang/String;)F

    move-result v0

    float-to-double v0, v0

    invoke-static {v0, v1}, Ljava/lang/Math;->ceil(D)D

    move-result-wide v0

    double-to-int v0, v0

    iput v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->r:I

    .line 8
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->C:Landroid/graphics/Paint;

    invoke-virtual {v0, v2}, Landroid/graphics/Paint;->measureText(Ljava/lang/String;)F

    move-result v0

    float-to-double v0, v0

    invoke-static {v0, v1}, Ljava/lang/Math;->ceil(D)D

    move-result-wide v0

    double-to-int v0, v0

    iput v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->s:I

    goto :goto_0

    .line 9
    :cond_1
    iput v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->r:I

    .line 10
    iput v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->s:I

    :goto_0
    return-void
.end method

.method private getContentBottom()I
    .locals 2

    .line 1
    invoke-virtual {p0}, Landroid/view/View;->getHeight()I

    move-result v0

    invoke-virtual {p0}, Landroid/view/View;->getPaddingBottom()I

    move-result v1

    sub-int/2addr v0, v1

    return v0
.end method

.method private getContentTop()I
    .locals 1

    .line 1
    invoke-virtual {p0}, Landroid/view/View;->getPaddingTop()I

    move-result v0

    return v0
.end method

.method private getLabelHeight()I
    .locals 2

    .line 1
    iget-boolean v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->k:Z

    if-eqz v0, :cond_0

    iget v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->l:I

    iget v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->q:I

    add-int/2addr v0, v1

    goto :goto_0

    :cond_0
    const/4 v0, 0x0

    :goto_0
    return v0
.end method

.method private getNeedleCursorHeight()I
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->h:Landroid/graphics/drawable/Drawable;

    if-nez v0, :cond_0

    const/4 v0, 0x0

    goto :goto_0

    :cond_0
    invoke-virtual {v0}, Landroid/graphics/drawable/Drawable;->getIntrinsicHeight()I

    move-result v0

    :goto_0
    return v0
.end method

.method private getNeedleCursorWidth()I
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->h:Landroid/graphics/drawable/Drawable;

    if-nez v0, :cond_0

    const/4 v0, 0x0

    goto :goto_0

    :cond_0
    invoke-virtual {v0}, Landroid/graphics/drawable/Drawable;->getIntrinsicWidth()I

    move-result v0

    :goto_0
    return v0
.end method

.method private getRangeCursorHeight()I
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->c:Landroid/graphics/drawable/Drawable;

    if-nez v0, :cond_0

    const/4 v0, 0x0

    return v0

    .line 2
    :cond_0
    invoke-virtual {v0}, Landroid/graphics/drawable/Drawable;->getIntrinsicHeight()I

    move-result v0

    return v0
.end method

.method private getRangeCursorWidth()I
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->c:Landroid/graphics/drawable/Drawable;

    if-nez v0, :cond_0

    const/4 v0, 0x0

    return v0

    .line 2
    :cond_0
    invoke-virtual {v0}, Landroid/graphics/drawable/Drawable;->getIntrinsicWidth()I

    move-result v0

    return v0
.end method

.method private getTrackBottom()I
    .locals 2

    .line 1
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->getTrackCenterY()I

    move-result v0

    iget v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->y:I

    div-int/lit8 v1, v1, 0x2

    add-int/2addr v0, v1

    return v0
.end method

.method private getTrackCenterY()I
    .locals 3

    .line 1
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->getLabelHeight()I

    move-result v0

    .line 2
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->getContentTop()I

    move-result v1

    add-int/2addr v1, v0

    .line 3
    invoke-virtual {p0}, Landroid/view/View;->getHeight()I

    move-result v2

    sub-int/2addr v2, v0

    invoke-virtual {p0}, Landroid/view/View;->getPaddingTop()I

    move-result v0

    sub-int/2addr v2, v0

    invoke-virtual {p0}, Landroid/view/View;->getPaddingBottom()I

    move-result v0

    sub-int/2addr v2, v0

    div-int/lit8 v2, v2, 0x2

    add-int/2addr v1, v2

    return v1
.end method

.method private getTrackEnd()I
    .locals 2

    .line 1
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->getTrackStart()I

    move-result v0

    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->getTrackWidth()I

    move-result v1

    add-int/2addr v0, v1

    return v0
.end method

.method private getTrackStart()I
    .locals 2

    .line 1
    iget-boolean v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->k:Z

    if-eqz v0, :cond_0

    .line 2
    iget v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->r:I

    div-int/lit8 v0, v0, 0x2

    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->getRangeCursorWidth()I

    move-result v1

    div-int/lit8 v1, v1, 0x2

    invoke-static {v0, v1}, Ljava/lang/Math;->max(II)I

    move-result v0

    invoke-virtual {p0}, Landroid/view/View;->getPaddingLeft()I

    move-result v1

    :goto_0
    add-int/2addr v0, v1

    return v0

    .line 3
    :cond_0
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->getRangeCursorWidth()I

    move-result v0

    div-int/lit8 v0, v0, 0x2

    invoke-virtual {p0}, Landroid/view/View;->getPaddingLeft()I

    move-result v1

    goto :goto_0
.end method

.method private getTrackTop()I
    .locals 2

    .line 1
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->getTrackCenterY()I

    move-result v0

    iget v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->y:I

    div-int/lit8 v1, v1, 0x2

    sub-int/2addr v0, v1

    return v0
.end method

.method private getTrackWidth()I
    .locals 4

    .line 1
    iget v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->t:I

    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->getRangeCursorWidth()I

    move-result v1

    iget v2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->r:I

    iget v3, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->s:I

    add-int/2addr v2, v3

    div-int/lit8 v2, v2, 0x2

    invoke-static {v1, v2}, Ljava/lang/Math;->max(II)I

    move-result v1

    sub-int/2addr v0, v1

    .line 2
    invoke-virtual {p0}, Landroid/view/View;->getPaddingLeft()I

    move-result v1

    sub-int/2addr v0, v1

    invoke-virtual {p0}, Landroid/view/View;->getPaddingRight()I

    move-result v1

    sub-int/2addr v0, v1

    return v0
.end method


# virtual methods
.method public a(IZ)V
    .locals 2

    .line 52
    iput p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->i:I

    .line 53
    iget v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->t:I

    if-gtz v0, :cond_0

    return-void

    :cond_0
    if-eqz p2, :cond_2

    .line 54
    iget v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->d:I

    if-ge p1, v0, :cond_1

    .line 55
    iput v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->i:I

    .line 56
    :cond_1
    iget p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->i:I

    iget v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->f:I

    if-le p1, v0, :cond_2

    .line 57
    iput v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->i:I

    .line 58
    :cond_2
    iget p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->i:I

    int-to-long v0, p1

    invoke-direct {p0, v0, v1}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->a(J)I

    move-result p1

    iput p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->j:I

    if-eqz p2, :cond_3

    .line 59
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->d()Z

    move-result p1

    if-eqz p1, :cond_3

    .line 60
    iget p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->j:I

    invoke-direct {p0, p1}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->a(I)I

    move-result p1

    iput p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->i:I

    .line 61
    :cond_3
    sget-object p1, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$Select;->NEEDLE:Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$Select;

    iget p2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->i:I

    const/4 v0, 0x0

    invoke-direct {p0, p1, p2, v0}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->a(Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$Select;IZ)V

    return-void
.end method

.method public a(Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$a;)V
    .locals 1

    .line 74
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->D:Ljava/util/List;

    invoke-interface {v0, p1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    return-void
.end method

.method public getCursorStatus()Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$Select;
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->u:Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$Select;

    return-object v0
.end method

.method public getLeftCursorValue()I
    .locals 1

    .line 1
    iget v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->d:I

    return v0
.end method

.method public getLeftCursorX()I
    .locals 1

    .line 1
    iget v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->e:I

    return v0
.end method

.method public getMaskMode()I
    .locals 1

    .line 1
    iget v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->x:I

    return v0
.end method

.method public getMax()I
    .locals 2

    .line 1
    iget-wide v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->b:J

    long-to-int v1, v0

    return v1
.end method

.method public getNeedleCursorValue()I
    .locals 1

    .line 1
    iget v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->i:I

    return v0
.end method

.method public getNeedleCursorX()I
    .locals 1

    .line 1
    iget v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->j:I

    return v0
.end method

.method public getRightCursorValue()I
    .locals 1

    .line 1
    iget v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->f:I

    return v0
.end method

.method public getRightCursorX()I
    .locals 1

    .line 1
    iget v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->g:I

    return v0
.end method

.method public getSelectedCursorValue()I
    .locals 2

    .line 1
    sget-object v0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$Select;->LEFT:Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$Select;

    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->u:Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$Select;

    invoke-virtual {v0, v1}, Ljava/lang/Enum;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    .line 2
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->getLeftCursorValue()I

    move-result v0

    return v0

    .line 3
    :cond_0
    sget-object v0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$Select;->RIGHT:Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$Select;

    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->u:Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$Select;

    invoke-virtual {v0, v1}, Ljava/lang/Enum;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1

    .line 4
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->getRightCursorValue()I

    move-result v0

    return v0

    .line 5
    :cond_1
    sget-object v0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$Select;->NEEDLE:Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$Select;

    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->u:Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$Select;

    invoke-virtual {v0, v1}, Ljava/lang/Enum;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_2

    .line 6
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->getNeedleCursorValue()I

    move-result v0

    return v0

    :cond_2
    const/4 v0, -0x1

    return v0
.end method

.method protected onDraw(Landroid/graphics/Canvas;)V
    .locals 2

    .line 1
    invoke-super {p0, p1}, Landroid/view/View;->onDraw(Landroid/graphics/Canvas;)V

    .line 2
    invoke-virtual {p0}, Landroid/view/View;->getWidth()I

    move-result v0

    iput v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->t:I

    .line 3
    iget-boolean v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->a:Z

    if-eqz v0, :cond_0

    const/4 v0, 0x0

    .line 4
    iput-boolean v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->a:Z

    .line 5
    iget v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->d:I

    iget v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->f:I

    invoke-direct {p0, v0, v1}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->a(II)V

    .line 6
    iget v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->d:I

    invoke-virtual {p0, v0}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->setNeedleCursorValue(I)V

    .line 7
    :cond_0
    invoke-direct {p0, p1}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->e(Landroid/graphics/Canvas;)V

    .line 8
    invoke-direct {p0, p1}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->a(Landroid/graphics/Canvas;)V

    .line 9
    invoke-direct {p0, p1}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->b(Landroid/graphics/Canvas;)V

    return-void
.end method

.method protected onMeasure(II)V
    .locals 3

    .line 1
    invoke-static {p2}, Landroid/view/View$MeasureSpec;->getMode(I)I

    move-result p2

    .line 2
    iget v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->y:I

    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->getRangeCursorHeight()I

    move-result v1

    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->getNeedleCursorHeight()I

    move-result v2

    invoke-static {v1, v2}, Ljava/lang/Math;->max(II)I

    move-result v1

    invoke-static {v0, v1}, Ljava/lang/Math;->max(II)I

    move-result v0

    .line 3
    invoke-virtual {p0}, Landroid/view/View;->getPaddingTop()I

    move-result v1

    add-int/2addr v0, v1

    invoke-virtual {p0}, Landroid/view/View;->getPaddingBottom()I

    move-result v1

    add-int/2addr v0, v1

    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->getLabelHeight()I

    move-result v1

    add-int/2addr v0, v1

    .line 4
    invoke-static {v0, p2}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I

    move-result p2

    .line 5
    invoke-super {p0, p1, p2}, Landroid/view/View;->onMeasure(II)V

    return-void
.end method

.method public onTouchEvent(Landroid/view/MotionEvent;)Z
    .locals 5

    .line 1
    invoke-virtual {p0}, Landroid/view/View;->isEnabled()Z

    move-result v0

    const/4 v1, 0x1

    if-nez v0, :cond_0

    return v1

    .line 2
    :cond_0
    invoke-virtual {p1}, Landroid/view/MotionEvent;->getX()F

    move-result v0

    .line 3
    invoke-virtual {p1}, Landroid/view/MotionEvent;->getAction()I

    move-result p1

    const/4 v2, 0x0

    const/4 v3, 0x3

    const/4 v4, 0x2

    if-eqz p1, :cond_a

    if-eq p1, v1, :cond_8

    if-eq p1, v4, :cond_1

    if-eq p1, v3, :cond_8

    goto/16 :goto_2

    .line 4
    :cond_1
    iget p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->w:I

    if-ne p1, v1, :cond_2

    float-to-int p1, v0

    .line 5
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->getRangeCursorWidth()I

    move-result v0

    div-int/2addr v0, v4

    add-int/2addr p1, v0

    iput p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->e:I

    .line 6
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->b()Z

    .line 7
    iget p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->e:I

    invoke-direct {p0, p1}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->a(I)I

    move-result p1

    iput p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->d:I

    .line 8
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->c()V

    .line 9
    sget-object p1, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$Select;->LEFT:Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$Select;

    iget v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->d:I

    invoke-direct {p0, p1, v0, v1}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->a(Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$Select;IZ)V

    goto/16 :goto_2

    :cond_2
    if-ne p1, v4, :cond_3

    float-to-int p1, v0

    .line 10
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->getRangeCursorWidth()I

    move-result v0

    div-int/2addr v0, v4

    sub-int/2addr p1, v0

    iput p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->g:I

    .line 11
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->e()Z

    .line 12
    iget p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->g:I

    invoke-direct {p0, p1}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->a(I)I

    move-result p1

    iput p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->f:I

    .line 13
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->f()V

    .line 14
    sget-object p1, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$Select;->RIGHT:Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$Select;

    iget v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->f:I

    invoke-direct {p0, p1, v0, v1}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->a(Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$Select;IZ)V

    goto/16 :goto_2

    :cond_3
    if-ne v3, p1, :cond_4

    float-to-int p1, v0

    .line 15
    iput p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->j:I

    .line 16
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->d()Z

    .line 17
    iget p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->j:I

    invoke-direct {p0, p1}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->a(I)I

    move-result p1

    iput p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->i:I

    .line 18
    sget-object v0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$Select;->NEEDLE:Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$Select;

    invoke-direct {p0, v0, p1, v1}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->a(Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$Select;IZ)V

    goto/16 :goto_2

    :cond_4
    float-to-int p1, v0

    .line 19
    invoke-direct {p0, p1}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->c(I)I

    move-result p1

    .line 20
    iget v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->w:I

    if-eq p1, v0, :cond_e

    .line 21
    iput p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->w:I

    if-ne v1, p1, :cond_5

    .line 22
    iput-boolean v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->v:Z

    .line 23
    sget-object p1, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$Select;->LEFT:Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$Select;

    iput-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->u:Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$Select;

    goto :goto_0

    :cond_5
    if-ne v4, p1, :cond_6

    .line 24
    iput-boolean v2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->v:Z

    .line 25
    sget-object p1, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$Select;->RIGHT:Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$Select;

    iput-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->u:Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$Select;

    goto :goto_0

    :cond_6
    if-ne v3, p1, :cond_7

    .line 26
    sget-object p1, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$Select;->NEEDLE:Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$Select;

    iput-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->u:Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$Select;

    goto :goto_0

    .line 27
    :cond_7
    sget-object p1, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$Select;->NONE:Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$Select;

    iput-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->u:Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$Select;

    .line 28
    :goto_0
    iget p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->w:I

    if-eqz p1, :cond_e

    .line 29
    iget-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->u:Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$Select;

    invoke-direct {p0, p1}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->a(Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$Select;)V

    goto :goto_2

    .line 30
    :cond_8
    iget p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->w:I

    if-eqz p1, :cond_9

    .line 31
    iget-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->u:Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$Select;

    invoke-direct {p0, p1}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->b(Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$Select;)V

    .line 32
    :cond_9
    iput v2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->w:I

    goto :goto_2

    :cond_a
    float-to-int p1, v0

    .line 33
    invoke-direct {p0, p1}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->c(I)I

    move-result v0

    iput v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->w:I

    if-ne v1, v0, :cond_b

    .line 34
    iput-boolean v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->v:Z

    .line 35
    sget-object v0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$Select;->LEFT:Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$Select;

    iput-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->u:Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$Select;

    .line 36
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->getRangeCursorWidth()I

    move-result v0

    div-int/2addr v0, v4

    add-int/2addr p1, v0

    iput p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->e:I

    goto :goto_1

    :cond_b
    if-ne v4, v0, :cond_c

    .line 37
    iput-boolean v2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->v:Z

    .line 38
    sget-object v0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$Select;->RIGHT:Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$Select;

    iput-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->u:Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$Select;

    .line 39
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->getRangeCursorWidth()I

    move-result v0

    div-int/2addr v0, v4

    sub-int/2addr p1, v0

    iput p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->g:I

    goto :goto_1

    :cond_c
    if-ne v3, v0, :cond_d

    .line 40
    sget-object v0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$Select;->NEEDLE:Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$Select;

    iput-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->u:Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$Select;

    .line 41
    iput p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->j:I

    goto :goto_1

    .line 42
    :cond_d
    sget-object p1, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$Select;->NONE:Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$Select;

    iput-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->u:Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$Select;

    .line 43
    :goto_1
    iget p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->w:I

    if-eqz p1, :cond_e

    .line 44
    iget-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->u:Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$Select;

    invoke-direct {p0, p1}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->a(Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$Select;)V

    .line 45
    :cond_e
    :goto_2
    invoke-virtual {p0}, Landroid/view/View;->invalidate()V

    return v1
.end method

.method public setCurrentSelectedCursorValue(I)V
    .locals 2

    .line 1
    sget-object v0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$Select;->LEFT:Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$Select;

    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->u:Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$Select;

    invoke-virtual {v0, v1}, Ljava/lang/Enum;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    .line 2
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->getLeftCursorValue()I

    move-result v0

    add-int/2addr v0, p1

    .line 3
    invoke-virtual {p0, v0}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->setLeftCursorValue(I)V

    goto :goto_0

    .line 4
    :cond_0
    sget-object v0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$Select;->RIGHT:Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$Select;

    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->u:Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$Select;

    invoke-virtual {v0, v1}, Ljava/lang/Enum;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1

    .line 5
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->getRightCursorValue()I

    move-result v0

    add-int/2addr v0, p1

    .line 6
    invoke-virtual {p0, v0}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->setRightCursorValue(I)V

    goto :goto_0

    .line 7
    :cond_1
    sget-object v0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$Select;->NEEDLE:Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$Select;

    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->u:Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$Select;

    invoke-virtual {v0, v1}, Ljava/lang/Enum;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_2

    .line 8
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->getNeedleCursorValue()I

    move-result v0

    add-int/2addr v0, p1

    .line 9
    invoke-virtual {p0, v0}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->setNeedleCursorValue(I)V

    .line 10
    :goto_0
    invoke-virtual {p0}, Landroid/view/View;->postInvalidate()V

    :cond_2
    return-void
.end method

.method public setCursorStatus(Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$Select;)V
    .locals 1

    .line 1
    iput-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->u:Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$Select;

    .line 2
    sget-object v0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$Select;->LEFT:Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$Select;

    invoke-virtual {v0, p1}, Ljava/lang/Enum;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    const/4 p1, 0x1

    .line 3
    iput-boolean p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->v:Z

    goto :goto_0

    .line 4
    :cond_0
    sget-object v0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$Select;->RIGHT:Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$Select;

    invoke-virtual {v0, p1}, Ljava/lang/Enum;->equals(Ljava/lang/Object;)Z

    move-result p1

    if-eqz p1, :cond_1

    const/4 p1, 0x0

    .line 5
    iput-boolean p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->v:Z

    .line 6
    :cond_1
    :goto_0
    invoke-virtual {p0}, Landroid/view/View;->postInvalidate()V

    return-void
.end method

.method public setEnabled(Z)V
    .locals 1

    .line 1
    invoke-super {p0, p1}, Landroid/view/View;->setEnabled(Z)V

    .line 2
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->h:Landroid/graphics/drawable/Drawable;

    if-eqz v0, :cond_1

    if-eqz p1, :cond_0

    .line 3
    sget-object p1, Landroid/view/View;->ENABLED_STATE_SET:[I

    goto :goto_0

    :cond_0
    sget-object p1, Landroid/view/View;->EMPTY_STATE_SET:[I

    :goto_0
    invoke-virtual {v0, p1}, Landroid/graphics/drawable/Drawable;->setState([I)Z

    :cond_1
    return-void
.end method

.method public setLabelFormat(Ljava/text/Format;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->p:Ljava/text/Format;

    .line 2
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->g()V

    return-void
.end method

.method public setLeftCursorValue(I)V
    .locals 2

    .line 1
    iput p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->d:I

    .line 2
    iget v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->t:I

    if-gtz v0, :cond_0

    return-void

    :cond_0
    int-to-long v0, p1

    .line 3
    invoke-direct {p0, v0, v1}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->a(J)I

    move-result p1

    iput p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->e:I

    .line 4
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->b()Z

    move-result p1

    if-eqz p1, :cond_1

    .line 5
    iget p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->e:I

    invoke-direct {p0, p1}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->a(I)I

    move-result p1

    iput p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->d:I

    .line 6
    :cond_1
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->c()V

    .line 7
    sget-object p1, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$Select;->LEFT:Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$Select;

    iget v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->d:I

    const/4 v1, 0x0

    invoke-direct {p0, p1, v0, v1}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->a(Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$Select;IZ)V

    return-void
.end method

.method public setMaskMode(I)V
    .locals 0

    .line 1
    iput p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->x:I

    .line 2
    invoke-virtual {p0}, Landroid/view/View;->invalidate()V

    return-void
.end method

.method public setMax(I)V
    .locals 6

    const/4 v0, 0x1

    if-ge p1, v0, :cond_0

    const/4 p1, 0x1

    :cond_0
    int-to-long v1, p1

    .line 1
    iget-wide v3, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->b:J

    cmp-long v5, v1, v3

    if-eqz v5, :cond_1

    .line 2
    iput-boolean v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->a:Z

    .line 3
    iput-wide v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->b:J

    .line 4
    iput p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->f:I

    .line 5
    :cond_1
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->g()V

    return-void
.end method

.method public setNeedleCursorValue(I)V
    .locals 1

    const/4 v0, 0x1

    .line 1
    invoke-virtual {p0, p1, v0}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->a(IZ)V

    return-void
.end method

.method public setRightCursorValue(I)V
    .locals 2

    .line 1
    iput p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->f:I

    .line 2
    iget v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->t:I

    if-gtz v0, :cond_0

    return-void

    :cond_0
    int-to-long v0, p1

    .line 3
    invoke-direct {p0, v0, v1}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->a(J)I

    move-result p1

    iput p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->g:I

    .line 4
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->e()Z

    move-result p1

    if-eqz p1, :cond_1

    .line 5
    iget p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->g:I

    invoke-direct {p0, p1}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->a(I)I

    move-result p1

    iput p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->f:I

    .line 6
    :cond_1
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->f()V

    .line 7
    sget-object p1, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$Select;->RIGHT:Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$Select;

    iget v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->f:I

    const/4 v1, 0x0

    invoke-direct {p0, p1, v0, v1}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->a(Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$Select;IZ)V

    return-void
.end method

.method public setSelectedCursorValue(I)V
    .locals 2

    .line 1
    sget-object v0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$Select;->LEFT:Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$Select;

    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->u:Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$Select;

    invoke-virtual {v0, v1}, Ljava/lang/Enum;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    .line 2
    invoke-virtual {p0, p1}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->setLeftCursorValue(I)V

    goto :goto_0

    .line 3
    :cond_0
    sget-object v0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$Select;->RIGHT:Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$Select;

    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->u:Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$Select;

    invoke-virtual {v0, v1}, Ljava/lang/Enum;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1

    .line 4
    invoke-virtual {p0, p1}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->setRightCursorValue(I)V

    goto :goto_0

    .line 5
    :cond_1
    sget-object v0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$Select;->NEEDLE:Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$Select;

    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->u:Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$Select;

    invoke-virtual {v0, v1}, Ljava/lang/Enum;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_2

    .line 6
    invoke-virtual {p0, p1}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->setNeedleCursorValue(I)V

    .line 7
    :goto_0
    invoke-virtual {p0}, Landroid/view/View;->postInvalidate()V

    :cond_2
    return-void
.end method
